#!/bin/bash

cd $1
filenames=$(ls)

for name in $filenames
do
   echo $name
done
